package com.own.business.system.user.common.exception;

import com.own.base.BaseResponseCode;
import com.own.business.system.user.common.em.SystemUserExceptionEnum;
import com.own.component.common.exception.BusinessException;

/**
 * SystemUserException
 *
 * @author chenxueli
 * @date 2021-6-24 15:58:20
 */
public class SystemUserException extends BusinessException {

    public SystemUserException() {
        super(SystemUserExceptionEnum.DEFAULT);
    }

    public SystemUserException(String message) {
        super(SystemUserExceptionEnum.DEFAULT.code(), message);
    }

    public SystemUserException(String code, String message) {
        super(code, message);
    }

    public SystemUserException(BaseResponseCode responseCode) {
        super(responseCode);
    }

    public SystemUserException(BaseResponseCode responseCode, Object... args) {
        super(responseCode, args);
    }

}
